<?php /* Smarty version 2.6.18, created on 2017-09-23 15:18:20
         compiled from caopan.html */ ?>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => 'header.html', 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
<script language="javascript" src="../js/md5.js"></script>
<link href="../css/admins.css" type="text/css" rel="stylesheet" />
<style>
.page{table-layout: fixed;}
.page td:hover{background:#FCF}
.recordtb .e tr:hover{background:#FCF}
.recordtb .l tr:hover{background:#FCF}
body{font-size:12px;}
</style>
</head>
<body>
<script id=myjs language="javascript">var js=1;var sss='caopan';</script>
<div class="xbody1">
   <table class="tinfo wd100">
   <TR>
   
<th >管理员</th><th>新增时间</th><th>登陆次数</th><th>最后登录IP</th><th>最后登录时间</th><th>最后修改密码时间</th><th>操作</th>

   </TR>     
   <?php unset($this->_sections['i']);
$this->_sections['i']['name'] = 'i';
$this->_sections['i']['loop'] = is_array($_loop=$this->_tpl_vars['data']) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$this->_sections['i']['show'] = true;
$this->_sections['i']['max'] = $this->_sections['i']['loop'];
$this->_sections['i']['step'] = 1;
$this->_sections['i']['start'] = $this->_sections['i']['step'] > 0 ? 0 : $this->_sections['i']['loop']-1;
if ($this->_sections['i']['show']) {
    $this->_sections['i']['total'] = $this->_sections['i']['loop'];
    if ($this->_sections['i']['total'] == 0)
        $this->_sections['i']['show'] = false;
} else
    $this->_sections['i']['total'] = 0;
if ($this->_sections['i']['show']):

            for ($this->_sections['i']['index'] = $this->_sections['i']['start'], $this->_sections['i']['iteration'] = 1;
                 $this->_sections['i']['iteration'] <= $this->_sections['i']['total'];
                 $this->_sections['i']['index'] += $this->_sections['i']['step'], $this->_sections['i']['iteration']++):
$this->_sections['i']['rownum'] = $this->_sections['i']['iteration'];
$this->_sections['i']['index_prev'] = $this->_sections['i']['index'] - $this->_sections['i']['step'];
$this->_sections['i']['index_next'] = $this->_sections['i']['index'] + $this->_sections['i']['step'];
$this->_sections['i']['first']      = ($this->_sections['i']['iteration'] == 1);
$this->_sections['i']['last']       = ($this->_sections['i']['iteration'] == $this->_sections['i']['total']);
?>
   <tr><td ><?php echo $this->_tpl_vars['data'][$this->_sections['i']['index']]['adminname']; ?>
</td><td><?php echo $this->_tpl_vars['data'][$this->_sections['i']['index']]['regtime']; ?>
</td><td><?php echo $this->_tpl_vars['data'][$this->_sections['i']['index']]['logintimes']; ?>
</td><td><?php echo $this->_tpl_vars['data'][$this->_sections['i']['index']]['lastloginip']; ?>
[<?php echo $this->_tpl_vars['data'][$this->_sections['i']['index']]['lastloginfrom']; ?>
]</td><td><?php echo $this->_tpl_vars['data'][$this->_sections['i']['index']]['lastlogintime']; ?>
</td><td><?php echo $this->_tpl_vars['data'][$this->_sections['i']['index']]['passtime']; ?>
</td>
   <td style="width:200px;">
   <?php if ($this->_tpl_vars['data'][$this->_sections['i']['index']]['adminid'] != 10000): ?>
   <input type='button' class='del btn1 btnf' value='删除' id=del"<?php echo $this->_tpl_vars['data'][$this->_sections['i']['index']]['adminid']; ?>
" AID="<?php echo $this->_tpl_vars['data'][$this->_sections['i']['index']]['adminid']; ?>
" />
   <?php endif; ?>
   <input class='edit btn1 btnf' id=edit"<?php echo $this->_tpl_vars['data'][$this->_sections['i']['index']]['adminid']; ?>
" value='修改密码' AID="<?php echo $this->_tpl_vars['data'][$this->_sections['i']['index']]['adminid']; ?>
" type='button' />
   <?php if ($this->_tpl_vars['data'][$this->_sections['i']['index']]['adminid'] == 10000): ?>
   <input class='add btn1 btnf' value='新增'  id=add"<?php echo $this->_tpl_vars['data'][$this->_sections['i']['index']]['adminid']; ?>
" type='button' />
   <?php endif; ?>
   <input class='record btn1 btnf' value='记录' aid='<?php echo $this->_tpl_vars['data'][$this->_sections['i']['index']]['adminid']; ?>
' aname='<?php echo $this->_tpl_vars['data'][$this->_sections['i']['index']]['adminname']; ?>
'  id=showrecord"<?php echo $this->_tpl_vars['data'][$this->_sections['i']['index']]['adminid']; ?>
" type='button' />
   </td>
   </tr>
   <?php endfor; endif; ?>
   </table>
   <table class="page tinfo wd100" style="margin-top:20px;">
    <?php $_from = $this->_tpl_vars['page']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['i']):
?>
      <tr>
          <?php $_from = $this->_tpl_vars['i']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['j']):
?>
            <TD><?php echo $this->_tpl_vars['j']; ?>
</TD>
          <?php endforeach; endif; unset($_from); ?>
      </tr>
    <?php endforeach; endif; unset($_from); ?>
   </table>
   <table class="tinfo addtb" style="background:#fff">
      <TR><Th>管理帐号</Th><TD><label class="adminname" aid=''></label><input type="text" id='adminname' class="intext" maxlength="6" /><input type="hidden" id='action' value="add" /></TD></TR>
      <TR><Th>密码</Th><TD><input type="password" id='pass1' class="intext" /></TD></TR>
      <TR><Th>重复密码</Th><TD><input type="password" id='pass2' class="intext" /></TD></TR>
      <TR><th colspan="2" class="tcenter"><input type="button" id='addbtn' class="btn1 btnf" value="添加" /><input type="button" id='closebtn' class="btn1 btnf" value="关闭" /></th></TR>
   </table>
   <table class="recordtb tinfo hide" style="width:950px;position:absolute;background:#fff;display:none">
<tr><td class="e" valign="top"></td><td class="l" valign="top"></td></tr>

</table>
</div>
<div id='test'></div>
</body>
</html>